<!DOCTYPE html>
<html lang="en">
<head>
<title>Google Maps Library: GMLib.Exceptions: Class EGMException</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="PasDoc 0.15.0">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="tipuesearch/tipuesearch.css">

<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body>
<div class="container"><div class="navigation">
<h2><a href="index.html">Google Maps Library</a></h2><ul><li><a href="AllUnits.html">Units</a></li><li><a href="ClassHierarchy.html">Class Hierarchy</a></li><li><a href="AllClasses.html">Classes, Interfaces, Objects and Records</a></li><li><a href="AllTypes.html">Types</a></li><li><a href="AllVariables.html">Variables</a></li><li><a href="AllConstants.html">Constants</a></li><li><a href="AllFunctions.html">Functions and Procedures</a></li><li><a href="AllIdentifiers.html">Identifiers</a></li><li><a href="GVUses.png">Unit dependency graph</a></li><li><a href="GVClasses.png">Classes hierarchy graph</a></li><li><form class="search-form" action="_tipue_results.html"><div class="search-input"><input type="text" name="q" id="tipue_search_input" pattern=".{3,}" title="At least 3 characters" required><div class="search-button"><input type="button" id="tipue_search_button" onclick="this.form.submit();"></div></div></form>
<div style="clear: both"></div>
</li></ul></div><div class="content">
<table class="container">
<tr>
<td><i><a href="http://www.cadetill.com" target="_blank">cadetill's blog</a></i></td>
<td align ="right"><i>Copyright &copy; Xavier Mart&iacute;nez (cadetill)</i></td>
</tr>
</table>
<hr noshade="" size="1">
<span id="EGMException"></span><h1 class="cio">Class EGMException</h1>
<div class="sections">
<div class="one_section"><a class="section" href="#PasDoc-Description">Description</a></div><div class="one_section"><a class="section" href="#PasDoc-Hierarchy">Hierarchy</a></div><div class="one_section">Fields</div><div class="one_section"><a class="section" href="#PasDoc-Methods">Methods</a></div><div class="one_section">Properties</div></div>
<span id="PasDoc-Description"></span><h2 class="unit">Unit</h2>
<p class="unitlink">
<a href="GMLib.Exceptions.html">GMLib.Exceptions</a></p>
<h2 class="declaration">Declaration</h2>
<p class="declaration">
<code>type EGMException = class(Exception)</code></p>
<h2 class="description">Description</h2>
<p>
Base class for all <code>Exception</code> on GMLib.</p>
<p>


<p>If you want to translate the exceptions, follow this steps:<br> </p>

<ol class="paragraph_spacing">
  <li value="1"><p>Create a new element into <code>GMSets.TGMLang</code> set representing the new language.</p></li>
  <li value="2"><p>Create a new const array into <code>GMTranslations</code> unit named <em>Lang_XXX</em>.</p></li>
  <li value="3"><p>And put new set value into <a class="normal" href="GMLib.Translations.html#GetTranslateText">GetTranslateText</a> case.</p></li>
</ol>

<p> </p>
<span id="PasDoc-Hierarchy"></span><h2 class="hierarchy">Hierarchy</h2>
<ul class="hierarchy"><li class="ancestor">TObject</li>
<li class="ancestor">Exception</li>
<li class="thisitem">EGMException</li></ul><h2 class="overview">Overview</h2>
<span id="PasDoc-Methods"></span><h3 class="summary">Methods</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>constructor <strong><a href="GMLib.Exceptions.EGMException.html#Create">Create</a></strong>(const Msg: string; const Args: array of const; Lang: <a href="GMLib.Sets.html#TGMLang">TGMLang</a>); reintroduce; overload; virtual;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>constructor <strong><a href="GMLib.Exceptions.EGMException.html#Create">Create</a></strong>(const Idx: Integer; const Args: array of const; Lang: <a href="GMLib.Sets.html#TGMLang">TGMLang</a>); reintroduce; overload; virtual;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Methods</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Create"></span><code>constructor <strong>Create</strong>(const Msg: string; const Args: array of const; Lang: <a href="GMLib.Sets.html#TGMLang">TGMLang</a>); reintroduce; overload; virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Constructor class.</p>
<p>


<p>   </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>Msg</dt>
<dd>Message to show translation (must be in English).</dd>
<dt>Args</dt>
<dd>Array of arguments to apply to the message.</dd>
<dt>Lang</dt>
<dd>Language to translate.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Create"></span><code>constructor <strong>Create</strong>(const Idx: Integer; const Args: array of const; Lang: <a href="GMLib.Sets.html#TGMLang">TGMLang</a>); reintroduce; overload; virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Constructor class.</p>
<p>


<p>   </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>Idx</dt>
<dd>Index of array languages.</dd>
<dt>Args</dt>
<dd>Array of arguments to apply to the message.</dd>
<dt>Lang</dt>
<dd>Language to translate.</dd>
</dl>
</td></tr>
</table>
<hr><span class="appinfo"><em>Generated by <a href="https://github.com/pasdoc/pasdoc/wiki">PasDoc 0.15.0</a>. </em>
</span>
</div></div></body></html>
